package com.yuanfeng.business.controller;

import com.yuanfeng.business.dto.ManageShopVideoDTO;
import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ShopVideosController
 * @Description
 * @Author hyq
 * @Date 2023/8/10 14:13
 * @Version 1.0
 **/
@RestController
@RequestMapping("shop/video")
public class ShopVideosController extends BaseController{

    /**
     * 店铺视频更新
     *
     * @param param
     * @return
     */
    @PostMapping("/update")
    public ResponseResult updateVideo(@RequestBody ManageShopVideoDTO param) {
        ResponseResult result=shopVideosService.updateVideo(param);
        return result;
    }
}
